#include <stdio.h>
#include "../include/cli_input.h"

int main(int argc ,int **argv)
{
    system("stty -icanon"); //关闭终端缓冲区
    system("stty -echo"); //关闭终端回显
    char c='0';
    cli_init();
    for(;;)
    {   
        c=getchar();      
        cli_in_data(printf,c);
    }
    return 0;
}